<template>
    <div>
        {{ a }}
    </div>
</template>

<script setup lang="ts">
import { onMounted } from 'vue'

const props = defineEmits(['a', 'name', 'obj'])


onMounted(() => {
    console.log(props.a)
    console.log(props.name)
    console.log(props.obj.man.name)
})
</script>

<style scoped></style>